package com.design.twords.entity;

import java.util.List;

/**
 * Create by Alen
 * Time:  19:03
 */
public class JsonYdWordDetail {

    //id
    private String requestId;

    //查询的单词
    private String query;

    private boolean isWord;

    //错误代码
    private String errorCode;

    private JsonYdBasic basic;

    private List<String> translation;

    @Override
    public String toString() {
        return "JsonYdWordDetail{" +
                "query='" + query + '\'' +
                ", errorCode='" + errorCode + '\'' +
                ", basic=" + basic +
                ", translation=" + translation +
                '}';
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public boolean isWord() {
        return isWord;
    }

    public void setWord(boolean word) {
        isWord = word;
    }

    public JsonYdBasic getBasic() {
        return basic;
    }

    public void setBasic(JsonYdBasic basic) {
        this.basic = basic;
    }

    public List<String> getTranslation() {
        return translation;
    }

    public void setTranslation(List<String> translation) {
        this.translation = translation;
    }
}
